Channel
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
A channel is a bidirectional messaging layer on top of a link for reliable delivery of typed data.
It is similar to sending packets except that it provides automatic retries, and messages are structured and can be sent in either direction of the link (no client/server).
Contents
Usage
With RNS:
channel = link.get_channel()
channel.register_message_type(Message)
channel.add_message_handler(handler)
channel.send(Message(...))
For a more comprehensive use case, see the Channel example in the manual.
See also
Reticulum concepts
Announce • Blackhole • Buffer • Channel • Destination • Discovery • Identity • Instance • Interface • Interface Access Code (IFAC) • Link • Network identity • Node • Packet • Path • Propagation node • Resource • Stamp • Transport node
Channel